package cn.kgc.vue.mapper;

import cn.kgc.vue.entity.LogInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 11839
* @description 针对表【sys_log_info】的数据库操作Mapper
* @createDate 2024-06-28 15:23:44
* @Entity cn.kgc.vue.entity.LogInfo
*/
public interface LogInfoMapper extends BaseMapper<LogInfo> {

    @Select("select  id  from  vue.sys_log_info where create_time < DATE_SUB(NOW(), INTERVAL 1 MONTH); ")
    List<Integer> selectLogsTasks();
}




